-
Notifications
You must be signed in to change notification settings - Fork 674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce CustomActions feature (closes #1535) #7393
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Artem-Babich
force-pushed
the
BabichA-dev-1
branch
from
November 24, 2022 05:54
28c103e
to
25340fb
Compare
AndreyBelym
changed the title
Introduce CustomActions feature
Introduce CustomActions feature (closes #1535)
Nov 30, 2022
AndreyBelym
approved these changes
Dec 4, 2022
miherlosev
requested changes
Dec 5, 2022
Artem-Babich
force-pushed
the
BabichA-dev-1
branch
from
December 8, 2022 10:37
051dec3
to
f5b0167
Compare
miherlosev
requested changes
Dec 9, 2022
miherlosev
requested changes
Dec 12, 2022
miherlosev
approved these changes
Dec 12, 2022
Release v2.1.1-alpha.3 addresses this. |
1 task
miherlosev
pushed a commit
that referenced
this pull request
Dec 27, 2022
## Purpose TestController.customActions property doesn't have types definitions. ## References #7393 ## Pre-Merge TODO - [ ] Make sure that existing tests do not fail
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
In some cases, you need to create custom actions that contain multiple default actions or other custom actions.
Approach
Provide the ability to describe and register custom actions in a JS configuration file. Create a TestController.customActions property containing these actions. If the user function returns a value, the result of calling the user action will be that value. If the function does not return a value, the result will be a TestController object, which you can chain further.
API
Define Custom Actions
Use Custom Actions
Reporter Changes (For Dashboard team):
An example of reporter:
References
Closes #1535
Pre-Merge TODO